package com.ht.dao;

import com.ht.bean.Student;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface StudentLoginDao {

    /*
     *查询emp表信息，验证账号密码。
     * @param
     * @return
     **/
    @Select("select * from student where phone = #{phone} and password = #{password}")
    Student studentlogin(@Param("phone") String phone, @Param("password") String password);

}
